package com.meida.module.bus.client.entity.srmapi.psmtosrm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 收货【含冲销】信息同步
 *
 * @author both
 * @date 2020-09-26
 * *  *
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "importObject", description = "收货【含冲销】信息同步")
@EqualsAndHashCode(callSuper = false)
public class PmsSrm05Sub implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("收货单ID")
    private Long receivingNoteId;
    @ApiModelProperty("收货单编号")
    private String receivingNoteNo;
    @ApiModelProperty("采购订单ID")
    private Long purchaseOrderId;
    @ApiModelProperty("采购订单明细ID")
    private Long purchaseOrderDetailId;
    @ApiModelProperty("PMS材料申请计划ID")
    private Long purchaseId;
    @ApiModelProperty("PMS材料申请计划明细ID")
    private Long purchaseDetailsId;
    @ApiModelProperty("物料编码")
    private String materialName;
    @ApiModelProperty("物料名称")
    private String materialCode;
    @ApiModelProperty("收货数量")
    private BigDecimal qtyReceive;
    @ApiModelProperty("单位编码")
    private String unitCode;
    @ApiModelProperty("收退货标识")
    private int acceptReturnFlag;
    @ApiModelProperty("物料凭证年度")
    private int materialVoucherYear;
    @ApiModelProperty("物料凭证编号")
    private String materialCertificateCode;
    @ApiModelProperty("物料凭证行项目")
    private int materialCertificateItem;
    @ApiModelProperty("税代码")
    private String taxCode;
    @ApiModelProperty("税率")
    private BigDecimal taxRate;
    @ApiModelProperty("凭证日期")
    private Long certificateDate;
    @ApiModelProperty("过帐日期")
    private Long postingDate;
    @ApiModelProperty("SAP采购订单行项目")
    private int sapPurchaseOrderItem;
    @ApiModelProperty("采购组织编码")
    private String purchasingOrgCode;
    @ApiModelProperty("采购组织名称")
    private String purchasingOrgName;
    @ApiModelProperty("工厂")
    private String plantCode;
    @ApiModelProperty("采购组编码")
    private String purchasingGroupCode;
    @ApiModelProperty("采购组名称")
    private String purchasingGroupName;
    @ApiModelProperty("库存地编码")
    private String storeLocalCode;
    @ApiModelProperty("原物料凭证年度")
    private int omaterialCertificateYear;
    @ApiModelProperty("原物料凭证编号")
    private String omaterialCertificateCode;
    @ApiModelProperty("原物料凭证行号")
    private int omaterialCertificateItem;
    @ApiModelProperty("送货单细单ID")
    private Long shoppingNoticeDetailId;
    @ApiModelProperty("送货明细行号")
    private int shoppingNoticeRowId;
    @ApiModelProperty("供应商代码")
    private String vendorErpCode;
    @ApiModelProperty("金额（未含税）")
    private BigDecimal amountnoTax;
    @ApiModelProperty("货币码")
    private String currencyCode;
    @ApiModelProperty("价格")
    private BigDecimal price;
    @ApiModelProperty("含税总金额")
    private BigDecimal totalAmountAndTax;
    @ApiModelProperty("总税额")
    private BigDecimal totalTax;
    @ApiModelProperty("PO定价单位数量")
    private BigDecimal fixPriceQty;
    @ApiModelProperty("PO定价单位")
    private String fixPriceUnitCode;
    @ApiModelProperty("库存单位数量")
    private BigDecimal stockQty;
    @ApiModelProperty("库存单位")
    private String stockUnit;
    @ApiModelProperty("创建日期")
    private Long createTime;
    @ApiModelProperty("修改日期")
    private Long modifyTime;
    @ApiModelProperty("可冲销数量")
    private BigDecimal canChargeOffNum;
    @ApiModelProperty("来源")
    private String origin;
}
